package weixin.core.dao;

import org.springframework.stereotype.Repository;
import weixin.core.base.BaseDao;
import weixin.core.entity.TestEntity;
import weixin.core.mapper.TestMapper;

import java.util.List;

/**
 * Created by lxb on 2016/4/14.
 */
@SuppressWarnings("unchecked")
@Repository("testDao")
public class TestDao extends BaseDao<TestEntity,TestMapper,Integer> implements TestMapper {
    // 覆盖父类 获取Mapper命名空间
    public String getMapperNamesapce() {
        return TestMapper.class.getName().toString();
    }

    public List<TestEntity> findAllUser() {
        return null;
    }
}
